package com.authine.cloudpivot.web.api.dao;

import com.authine.cloudpivot.web.Utils.MyMapper;
import com.authine.cloudpivot.web.api.vo.ResourcesDistribution;
import com.authine.cloudpivot.web.api.vo.TimingTask;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ResourcesDistributionMapper extends MyMapper<ResourcesDistribution> {

    /**
     * 招聘
     */
    List<String> selectPersonForRecruit(String objectId,String projectNames,String nowTime);

    /**
     * 店检
     */
    List<String> selectPersonForShop(String objectId,String projectNames,String nowTime);

    /**
     * 查找大区
     */
    String findAreaByEManager(String projectNames,String userID);

    /**
     * @Description : 根据
     * @param ： objectId
     * @author : Liun
     * @date : 2020/4/24
     */
    List<TimingTask>  selectUserByRds(String objectId);

}